feat(eval): --dump-answers artifact for the answer-quality eval (E-3c PR-A)#1031
Conversation
… PR-A)
Targeting misses ('no dose figure', 'no schedule') cannot be diagnosed
without the answer texts, and answers are deliberately not retained at rest.
The flag writes per-case {question, route, text, sections, targeting} JSON
into the canary artifact dir; default off, --json output byte-identical.
parseArgs/buildAnswerDumpRecord exported behind an import.meta main-guard so
tests import without executing the provider-backed eval. Canary targeting
step wired with the flag.
RAG impact: no retrieval behaviour change - measurement instrument only.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EXsJcLrbZUXwnBeG91cVo9
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Warning Review limit reached
Next review available in: 32 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary
First of the three E-3c PRs (instrument → short-circuit → figure-aware selection). The run-#58 targeting misses ("no dose figure/regimen", "no schedule/interval") cannot be diagnosed without the actual answer texts — and answers are deliberately not retained at rest (privacy design). This PR adds
--dump-answers <path>toeval:answer-quality: per-case{id, question, intent, route, routing_reason, grounded, confidence, citation_count, targeting verdict, answer text, sections}JSON written into the canary artifact directory at eval time.--jsonsummary output byte-identical; confirmation line only in human mode (the--json-outconvention).parseArgs/buildAnswerDumpRecordexported behind animport.metamain-guard (theeval-quality.tsprecedent) so tests import without executing the provider-backed eval.answer_quality_eval=truedispatch — including the E-4 pair — yields the texts. Content sensitivity matches the existing tee'd log: all-public corpus, no env values.The ledger row also records the accepted E-3c design (PR-B: pre-generation validated-extractive short-circuit generalizing the existing LAI pattern, net ~−110 rag.ts lines; PR-C: intent-figure-aware lead promotion with a claim-support nuke-proofing guard).
RAG impact: no retrieval behaviour change — measurement instrument only; no runtime answer path touched.
Verification
tests/eval-answer-quality.test.ts— 4/4 (flag parsing incl. default-off +--jsonindependence; dump-record shape incl. missing-text tolerance)npm run typecheck,npm run check:github-actions,npm run check:ci-scope, eval-canary workflow test, prettier — all cleanRisk and rollout
Clinical Governance Preflight
Clinical KB Database(sjrfecxgysukkwxsowpy) — no access changes🤖 Generated with Claude Code
https://claude.ai/code/session_01EXsJcLrbZUXwnBeG91cVo9
Generated by Claude Code